package structures;

import java.util.ArrayList;
import java.util.List;

public class XMLEdge {
	private int id;
	private int from;
	private int to;
	private List<String> actions;
	
	public XMLEdge(int id) {
		this.id = id;
		this.actions = new ArrayList<String>(); 
	}
	
	public int getId() {
		return id;
	}
	
	public int getFrom() {
		return from;
	}
	public void setFrom(int from) {
		this.from = from;
	}
	public int getTo() {
		return to;
	}
	public void setTo(int to) {
		this.to = to;
	}
	public List<String> getAction() {
		return actions;
	}
	public void addAction(String action) {
		this.actions.add(action);
	}
	
	
}
